package kr.hkit.powerjava.homework;

public class Programming6 {
	public static void main(String[] args) {
		int x =2,y=2;
		for (x = 2; x <= 100; x++) {
			for (y = 2; y < x; y++) {
				if (x % y == 0) {
					break;
				}
			}
			if (x == y){
				System.out.println("소수:"+x);
			}
			
		}
	}
}
